{
 "cells": [
  {
   "cell_type": "raw",
   "id": "62317b1e-86fc-48f7-ae72-6d21022394cd",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2022-03-20T10:22:00.672754Z",
     "iopub.status.busy": "2022-03-20T10:22:00.672359Z",
     "iopub.status.idle": "2022-03-20T10:22:01.189987Z",
     "shell.execute_reply": "2022-03-20T10:22:01.188963Z",
     "shell.execute_reply.started": "2022-03-20T10:22:00.672720Z"
    }
   },
   "source": [
    "import matplotlib.pyplot as plt\n",
    "import pandas as pd\n",
    "data=pd.read_csv(\"line_animation.csv\")\n",
    "\n",
    "year=data['time']\n",
    "japan=data['japan']\n",
    "russia=data['russia']\n",
    "data.describe()\n",
    "\n",
    "fig2,axes2=plt.subplots(2,2)\n",
    "fig2.set_size_inches(5,5)\n",
    "ax1=axes2[0,0]\n",
    "ax1.set_title(\"china\")\n",
    "ax1.set_xlim([1800,2040])\n",
    "ax1.set_ylim([0,80000])\n",
    "ax1.plot(year,china,color='red')\n",
    "ax2=axes2[1,0]\n",
    "ax2.set_title(\"usa\")\n",
    "ax2.set_xlim([1800,2040])\n",
    "ax2.set_ylim([0,80000])\n",
    "ax2.plot(year,usa,color='blue')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "py35-paddle1.2.0"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
